package org.twndmv.ejb;

import java.util.List;

import javax.ejb.Remote;

import org.twndmv.dto.PersonDTO;

@Remote
public interface PersonMgmtRemote {

	public List<PersonDTO> getAllPeople();
	
    public List<PersonDTO> getPeopleByLastName(String name);
	
	public PersonDTO getPersonByID(long personId);

	public void updatePerson(PersonDTO resultPerson);
	
	public void createPerson(PersonDTO newPeep);
	
	public void addList(List<PersonDTO> people);
}
